/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      视图      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

body.CoreBody .Secure-MapView {
  position: absolute !important;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: #333;
  user-select: none;
  overflow: hidden;

  /* ============================== 移动中 ============================== */
  &-inTrans {
    cursor: move;

    .Secure-MapView-trans {
      transition: none !important;
    }
  }

  /* ============================== 旋转中 ============================== */
  &-inRotate {
    cursor: grabbing;
  }

  /* ============================== 打点中 ============================== */
  &-inMark {
    cursor: pointer;

    .Secure-MapView-point {
      pointer-events: none !important;
    }

    .Secure-MapView-line-marking {
      line:last-child {
        opacity: 1 !important;
      }
    }
  }

  /* ============================== 偏移 ============================== */
  &-trans {
    transition: 0.3s;

    /* —————————————————————————————— 缩放 —————————————————————————————— */
    &-scale {
      transition: 0.3s;

      /* ------------------------------ 旋转 ------------------------------ */
      &-rotate {
        transition: 0.3s;
        min-width: 20vw;
        min-height: 20vh;

        /* ------------------------------ 背景地图 ------------------------------ */
        > img {
          transition: 0.3s;
          pointer-events: none;
        }
      }
    }
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      点位      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

body.CoreBody .Secure-MapView-point {
  position: absolute;
  transition: 0.3s;
  pointer-events: all;

  /* —————————————————————————————— 新增 —————————————————————————————— */
  &-add {
    z-index: 10;
    transition: none;

    .Secure-MapView-point-icon {
      filter: drop-shadow(0 0 8px #000) !important;
    }
  }

  /* —————————————————————————————— 隐藏 —————————————————————————————— */
  &-hide {
    display: none;
  }

  /* —————————————————————————————— 图标 —————————————————————————————— */
  &-icon {
    margin: -12px 0 0 -7px;
    border-top: 12px solid transparent;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    color: #fff;
    transition: 0.3s;
    filter: drop-shadow(0 0 4px #333);

    > .flexCC {
      position: absolute;
      width: 36px;
      height: 36px;
      margin: -46px 0 0 -18px;
      border-radius: 50%;
      transition: 0.3s;
      cursor: pointer;
    }

    &-disabled > .flexCC {
      cursor: not-allowed;
    }

    svg {
      height: 20px;
      vertical-align: top;

      path {
        fill: var(--White);
        stroke: var(--White);
      }
    }
  }

  &-nearTop .Secure-MapView-point-icon {
    margin: 0 0 -12px -7px;
    border-top: none;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 12px solid transparent;

    > .flexCC {
      margin: 10px 0 0 -18px;
    }
  }

  /* —————————————————————————————— 悬浮状态 —————————————————————————————— */
  &-hover {
    z-index: 1000;

    .Secure-MapView-point-icon:not(.Secure-MapView-point-icon-disabled) {
      transform: scale(1.1);
      filter: drop-shadow(0 0 8px #222) !important;
    }
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<     周界线     >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

body.CoreBody .Secure-MapView-line {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  user-select: none;
  pointer-events: none;
  transition: 0.3s;

  /* —————————————————————————————— 隐藏 —————————————————————————————— */
  &-hide {
    display: none;
  }

  /* —————————————————————————————— 折线 —————————————————————————————— */
  > svg {
    width: 100%;
    height: 100%;

    /* ------------------------------ 正方形 ------------------------------ */
    rect {
      filter: drop-shadow(0 0 4px #fff);
    }

    /* ------------------------------ 窄线 ------------------------------ */
    line:first-child {
      filter: drop-shadow(0 0 2px #fff);
    }

    /* ------------------------------ 宽线 ------------------------------ */
    line:last-child {
      opacity: 0;
      transition: 0.3s;
      pointer-events: initial;
      filter: drop-shadow(0 0 4px #fff);
      cursor: pointer;
    }
  }

  /* —————————————————————————————— 文字 —————————————————————————————— */
  > div:last-child {
    pointer-events: initial;
    height: auto !important;
    padding: 10px !important;
  }

  /* —————————————————————————————— 悬浮状态 —————————————————————————————— */
  &-hover {
    z-index: 1000;

    svg > line:last-child,
    div {
      opacity: 1 !important;
    }
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<     弹层面板    >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

body.CoreBody .Secure-MapView-point-hover .Secure-MapView-point-panel,
body.CoreBody .Secure-MapView-line-hover .Secure-MapView-line-panel {
  opacity: 1;
  height: auto;
  padding: 10px;
}
body.CoreBody .Secure-MapView-point-nearTop .Secure-MapView-point-panel,
body.CoreBody .Secure-MapView-line-nearTop .Secure-MapView-line-panel {
  top: 50px;
}
body.CoreBody .Secure-MapView-point-nearBottom .Secure-MapView-point-panel,
body.CoreBody .Secure-MapView-line-nearBottom .Secure-MapView-line-panel {
  bottom: 51px;
}
body.CoreBody .Secure-MapView-point-panel,
body.CoreBody .Secure-MapView-line-panel {
  opacity: 0;
  position: absolute;
  left: 50%;
  height: 0;
  margin-left: -7px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
  transform: translateX(-50%);
  transition: 0.3s;
  user-select: text;

  > span {
    float: right;
    margin-top: 8px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;

    + span {
      margin-right: 16px;
    }

    &:hover {
      text-shadow: 0 1px 3px;
    }
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      名称      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

body.CoreBody .Secure-MapView-name {
  position: absolute;
  z-index: 10;
  top: 16px;
  left: 20px;
  line-height: 20px;
  font-size: 16px;
  pointer-events: none;
  color: var(--Black8);
  filter: drop-shadow(1px 1px 2px var(--White));
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      状态      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

body.CoreBody .Secure-MapView-status {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 10;
  top: 16px;
  right: 20px;
  line-height: 24px;
  pointer-events: none;
  color: var(--Black8);
  filter: drop-shadow(1px 1px 2px var(--White));

  > div > span {
    display: inline-block;
    width: 8px;
    height: 24px;
    margin: 0 10px 0 20px;
    border-radius: 8px;
    vertical-align: top;
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<     比例尺     >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

body.CoreBody .Secure-MapView-ruler {
  position: absolute;
  z-index: 10;
  bottom: 16px;
  left: 20px;
  width: 100px;
  line-height: 20px;
  border-bottom: 1px solid var(--Black8);
  text-align: center;
  pointer-events: none;
  color: var(--Black8);
  filter: drop-shadow(1px 1px 2px var(--White));

  &-top {
    top: 10px;
    bottom: initial;
  }

  /* ============================== 左右竖线 ============================== */
  &::before,
  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 1px;
    height: 9px;
    background: var(--Black8);
  }

  /* ============================== 左竖线 ============================== */
  &::before {
    left: 0;
  }

  /* ============================== 右竖线 ============================== */
  &::after {
    right: 0;
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<     复选框     >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

body.CoreBody .Secure-MapView-checkbox {
  position: absolute;
  bottom: 6px;
  left: 130px;
  right: 10px;
  line-height: 20px;
  pointer-events: none;
  filter: drop-shadow(1px 1px 2px #fff);

  &-hover {
    background: var(--Primary1);
    box-shadow: -4px 0 8px 4px var(--Primary1);
  }

  .auto {
    width: calc(12.5% - 20px);
    margin: 0 10px 8px;
    border-radius: 4px;
    pointer-events: initial;
    transition: 0.3s;
  }

  .el-checkbox {
    width: 100%;
  }

  .el-checkbox__input {
    vertical-align: top;
  }

  .el-checkbox__label {
    width: calc(100% - 30px);

    span:first-child {
      display: inline-block;
      width: 60%;
      overflow: hidden; // 超出隐藏
      white-space: nowrap; // 不换行
      text-overflow: ellipsis; // 省略号
      vertical-align: top;
    }

    span:last-child {
      display: inline-block;
      width: 40%;
      font-weight: bold;
    }
  }

  .CoreWeb-checkbox-right {
    display: inline-block;
    width: 20px;
    margin-left: 0.5vw;
    font-weight: bold;
  }
}
